package com.aerozhonghuan.logisticsmall.modules.order.beans;

import java.io.Serializable;
import java.util.List;

/**
 * 描述
 * 订单详情
 * @author zhangyonghui
 * 创建日期 2019-05-25
 */
public class OrderDetailBean implements Serializable {
    private int billId;
    private String billNumber;
    // 支付单号
    private String payNumber;
    private String payType;
    private int totalPrice;
    private int actualPrice;
    private int billStatus;
    private String createtime;
    private CustomerBean customer;
    private StationBean station;
    private CompanyBean company;
    private List<EventTimeBean> eventTimes;
    private List<OrdersListBean.CommodityListBean> plist;

    public int getBillId() {
        return billId;
    }

    public void setBillId(int billId) {
        this.billId = billId;
    }

    public String getBillNumber() {
        return billNumber;
    }

    public void setBillNumber(String billNumber) {
        this.billNumber = billNumber;
    }

    public int getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(int totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public StationBean getStation() {
        return station;
    }

    public List<EventTimeBean> getEventTimes() {
        return eventTimes;
    }

    public void setEventTimes(List<EventTimeBean> eventTimes) {
        this.eventTimes = eventTimes;
    }

    public void setStation(StationBean station) {
        this.station = station;
    }

    public String getPayNumber() {
        return payNumber;
    }

    public void setPayNumber(String payNumber) {
        this.payNumber = payNumber;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public int getActualPrice() {
        return actualPrice;
    }

    public void setActualPrice(int actualPrice) {
        this.actualPrice = actualPrice;
    }

    public int getBillStatus() {
        return billStatus;
    }

    public void setBillStatus(int billStatus) {
        this.billStatus = billStatus;
    }

    public CustomerBean getCustomer() {
        return customer;
    }

    public void setCustomer(CustomerBean customer) {
        this.customer = customer;
    }

    public CompanyBean getCompany() {
        return company;
    }

    public void setCompany(CompanyBean company) {
        this.company = company;
    }

    public List<OrdersListBean.CommodityListBean> getPlist() {
        return plist;
    }

    public void setPlist(List<OrdersListBean.CommodityListBean> plist) {
        this.plist = plist;
    }

    @Override
    public String toString() {
        return "OrderDetailBean{" +
                "billId=" + billId +
                ", billNumber='" + billNumber + '\'' +
                ", totalPrice=" + totalPrice +
                ", createtime='" + createtime + '\'' +
                ", station=" + station +
                ", company=" + company +
                ", plist=" + plist +
                '}';
    }

    public class CustomerBean implements Serializable {
        private String name;
        private String phone;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }
    }


    public class StationBean implements Serializable {
        private String name;
        private String phone;
        private double lat;
        private double lng;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public double getLat() {
            return lat;
        }

        public void setLat(long lat) {
            this.lat = lat;
        }

        public double getLng() {
            return lng;
        }

        public void setLng(long lng) {
            this.lng = lng;
        }

        @Override
        public String toString() {
            return "StationBean{" +
                    "name='" + name + '\'' +
                    ", phone='" + phone + '\'' +
                    '}';
        }
    }

    public class CompanyBean implements Serializable {
        private String name;
        private String phone;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        @Override
        public String toString() {
            return "CompanyBean{" +
                    "name='" + name + '\'' +
                    ", phone='" + phone + '\'' +
                    '}';
        }
    }

    public class EventTimeBean implements Serializable {
        private String eventType;
        private String eventTime;

        public String getEventType() {
            return eventType;
        }

        public void setEventType(String eventType) {
            this.eventType = eventType;
        }

        public String getEventTime() {
            return eventTime;
        }

        public void setEventTime(String eventTime) {
            this.eventTime = eventTime;
        }

        @Override
        public String toString() {
            return "EventTimeBean{" +
                    "eventType=" + eventType +
                    ", eventTime='" + eventTime + '\'' +
                    '}';
        }
    }


}
